<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:clarity="http://clarity/facelets/debug"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">


<h:head>
	<title>IGNORED</title>
</h:head>

<h:body>
	<ui:composition>
		<h:outputScript library="javax.faces" name="jsf.js" target="body" />


		<div class="post">
			<h2 class="title">Search</h2>
			<p class="meta">&nbsp;</p>
			<div class="entry">
				<h:messages style="color: red" showDetail="true" showSummary="false" />
				<h:form id="searchForm">
					<h:panelGrid columns="3" border="0">
						<h:outputLabel for="firstLevel" value="1st Level Keywords *" />
						<p:inputTextarea id="firstLevel" required="true" rows="6"
							cols="33" value="#{searchManager.firstLevelKeywords}"
							title="Seperate by comma, Field Required">
							<f:validateLength minimum="2" />
						</p:inputTextarea>
						<p:tooltip for="firstLevel" showEvent="focus" hideEvent="blur"
							showEffect="slide" hideEffect="slide" />

						<h:outputText value="2nd Level Keywords" />
						<p:inputTextarea id="secondLevel" rows="3" cols="33"
							value="#{searchManager.secondLevelKeywords}"
							title="Seperate by comma , Field Optional" />
						<p:tooltip for="secondLevel" showEvent="focus" hideEvent="blur"
							showEffect="clip" hideEffect="explode" />
					</h:panelGrid>
					<h:commandButton id="submit" type="submit" value="Search"
						action="#{searchManager.getResult}" />
					<br />
				</h:form>

			</div>
		</div>


	</ui:composition>
</h:body>
</html>